package com.equipment.system.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.equipment.system.entity.Equipment;
import com.equipment.system.mapper.EquipmentMapper;
import com.equipment.system.pojo.EchartData;
import com.equipment.system.service.EquipmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * ${DESCRIPTION}
 *
 * @author 杨凯
 * @create 2018-03-19 14:44
 **/
@Service
public class EquipmentServiceImpl extends ServiceImpl<EquipmentMapper,Equipment> implements EquipmentService {

	@Autowired
	private EquipmentMapper equipmentMapper;


	@Override
	public Page<Equipment> selectEquipmentList(Page<Equipment> page,String province) {
		return page.setRecords(equipmentMapper.selectEquipmentList(page,province));
	}


}
